﻿<UserControl x:Class="SocketCoder_VoiceChat.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="202" d:DesignWidth="400" xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input">

    <Grid x:Name="LayoutRoot" Background="White" Height="199">
        <Grid Background="#FFE8E8E8" Height="197" Margin="-1,1,1,0" VerticalAlignment="Top" Width="400">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="210*" />
                <ColumnDefinition Width="190*" />
            </Grid.ColumnDefinitions>
            <Button Click="button1_Click" Content="Start Capturing and Playback" Height="31" Margin="19,33,7,0" Name="button1" VerticalAlignment="Top" IsEnabled="True" />
            <dataInput:Label Height="14" HorizontalAlignment="Left" Margin="176,6,0,0" Name="BufferSizeLB" VerticalAlignment="Top" Width="64" Content="0" Grid.ColumnSpan="2" />
            <dataInput:Label Height="14" HorizontalAlignment="Left" Margin="10,6,0,0" Name="label4" VerticalAlignment="Top" Width="160" Content="Encoded Buffer Size (Bytes)" />
            <dataInput:Label Height="18" HorizontalAlignment="Left" Margin="10,111,0,0" Name="label5" VerticalAlignment="Top" Width="95" Content="Selected Format" />
            <ComboBox Height="23" HorizontalAlignment="Right" Margin="0,77,15,0" Name="MicrophonesInDevicesCombobox" VerticalAlignment="Top" Width="264" Grid.ColumnSpan="2" />
            <dataInput:Label Height="23" HorizontalAlignment="Left" Margin="10,77,0,0" Name="label1" VerticalAlignment="Top" Width="112" Content="Default Microphone" />
            <ComboBox Grid.ColumnSpan="2" Height="23" HorizontalAlignment="Right" Margin="0,106,15,0" Name="FormatComboBox" VerticalAlignment="Top" Width="264" SelectionChanged="FormatComboBox_SelectionChanged" />
            <Button Content="Stop Capturing" Height="31" IsEnabled="False" Margin="2,33,10,0" Name="button2" VerticalAlignment="Top" Grid.Column="1" Click="button2_Click" />
            <dataInput:Label Content="Selected Codec" Height="18" HorizontalAlignment="Left" Margin="10,143,0,0" Name="label2" VerticalAlignment="Top" Width="86" />
            <ComboBox Grid.ColumnSpan="2" Height="23" HorizontalAlignment="Right" Margin="0,138,15,0" Name="CodecComboBox" VerticalAlignment="Top" Width="264" IsEnabled="True">
                <ComboBoxItem Content="Speex" IsSelected="True" />
            </ComboBox>
            <Slider Height="23" HorizontalAlignment="Left" Margin="121,168,0,0" Name="VoiceQualitySlider" VerticalAlignment="Top" Width="184" Grid.ColumnSpan="2" Minimum="1" Value="6" ValueChanged="VoiceQualitySlider_ValueChanged" IsEnabled="False" />
            <dataInput:Label Content="Voice Quality" Height="18" HorizontalAlignment="Left" Margin="10,169,0,0" Name="label3" VerticalAlignment="Top" Width="86" />
            <dataInput:Label Content="6" Height="18" HorizontalAlignment="Left" Margin="103,169,0,0" Name="VoiceQLB" VerticalAlignment="Top" Width="77" Grid.Column="1" />
        </Grid>
    </Grid>
</UserControl>
